@use './Global.scss' as *;
.container-layout,.el-container{
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  .openMenu{
    transition: width .5s;
    width: 200px;
  }
  .hideMenu{
    transition: width .5s;
    width: $header-height;;
  }
  .layout-aside{
    .aside-logo-container{
      height: $header-height;
      overflow: hidden;
      background-color: $logo-bg;
      .aside-logo{
        height: 100%;
        color: $logo-color;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        img{
          width: $header-height;;
          height: $header-height;;
          display: inline-block;
        }
        h1{
          white-space:nowrap;
          overflow: hidden;
        }
      }
    }
    .aside-menu-scrollbar{
      width: 100%;
      overflow-x: hidden;
      background-color: $menu-background;
      height: calc(100% - $header-height);
      .el-menu{
        width: 100%;
        border: none;
        .el-menu-item{
          background-color: $menu-background;
          color: $menu-color;
          &:hover{
            background-color: $menu-hover;
          }
          &.is-active{
            color: $menu-active-color;
          }
          .el-tooltip__trigger{
            justify-content: center;
          }
        }
        .el-sub-menu__title{
          background-color: $sub-menu-background;
          color: $menu-color;
          &:hover{
            background-color: $menu-hover;
          }
          &.el-tooltip__trigger{
            justify-content: center;
          }
        }
      }
    }
  }
  .layout-header{
    width: 100%;
    height:calc(35px + $header-height);
    padding:0;
    box-shadow:0  1px 5px #aaaaaa;
    .header-container{
      height: $header-height;
      padding:0 16px;
      box-shadow:0  1px 3px #ececec;
    }
  }
}